package io;

import java.io.File;

public class demo05 {
    public static void main1(String[] args) {
        File f1 = new File("./test2.txt");
        File f2 = new File("./testDir/test2.txt");
        f1.renameTo(f2);
    }
}
